#pragma once

/*
#include <iostream>
#include "../Utilities/utilities.h"
#include "../Utilities/TGA.h"
#include "Vertex.h"
#include "Shaders.h"
#include <conio.h>
#include <cctype>
#include "Camera.h"
#include <fstream>
*/
#include "Camera.h"
#include "FBO.h"
#include "Light.h"
#include "Shaders.h"
#include "cTexture.h"
#include "Models.h"
#include "cObject.h"
#include "cResourceManager.h"

class cSceneManager
{
protected:
	cObject* m_Objects;
	int m_numObject;
	static cSceneManager* m_instance;
	cSceneManager(void);
	~cSceneManager(void);
public:
	Models model;
	cTexture texture;
	Shaders myShaders;
	FBO fbo;
	float totalTime;
	LightSource lightSource,lightSource1;// lightSource_pointLight1,lightSource_directinalLight;
	Material material;
	LightProducts lightProducts;
	LightModelProducts lightModelProducts;
	
	int Init(const char *fileName);
	void ClearUp();
	void Draw();
	void Update(float deltaTime);
	static cSceneManager* GetInstance();
	void	destroy();
	Camera m_Camera;
};
